/// id : "http://www.amway.com.cn/content/dam/china/accl/amwaychina/news/photos/06151/01/big/9.JPG"
/// title : "旧金山铛铛车、市政厅9"
/// publishDate : "2020-11-05T01:45:27Z"
/// url : "https://www.amway.com.cn/content/dam/china/accl/amwaychina/news/photos/06151/01/big/9.JPG"

class GuanfangImage {
  String _id;
  String _title;
  String _publishDate;
  String _url;

  String get id => _id;
  String get title => _title;
  String get publishDate => _publishDate;
  String get url => _url;

  GuanfangImage({
      String id, 
      String title, 
      String publishDate, 
      String url}){
    _id = id;
    _title = title;
    _publishDate = publishDate;
    _url = url;
}

  GuanfangImage.fromJson(dynamic json) {
    _id = json["id"];
    _title = json["title"];
    _publishDate = json["publishDate"];
    _url = json["url"];
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map["id"] = _id;
    map["title"] = _title;
    map["publishDate"] = _publishDate;
    map["url"] = _url;
    return map;
  }

}